package com.tinyengine.it.model.vo.vue;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@ToString(exclude = "parent")
public class Route {
    private String path;             // 完整路径
    private Integer id;
    private Long menuId;
    private Long menuParentId;
    private String name;
    private String code;
    private String menuName;
    private String vuePath;
    private String component;        // Vue component 路径
    private String route;            // 当前路径段
    private Integer isPage;          // 是否为页面（1是）
    private Integer parentId;
    private List<Route> children;
}
